import React, { useContext } from 'react';
import nameContext from '../../nameContext.js';

function Right() {
  const name = useContext(nameContext);

  return (
    <div style={{flex: 2 }}>
      { name }
    </div>
  )
}

export default Right;